/**
 * Author(s): xuming.Wong <xuming.Wong@gmail.com>
 */

#include "LocalQuery.h"
#include "StockDatabase.h"

namespace QSThink
{
	LocalQuery::LocalQuery()
	{

	}

	bool LocalQuery::query( int symbol )
	{

		return false;
	}

	StockDayInfo* LocalQuery::getStockInfo(int day, int symbol )
	{
		return StockDatabase::getSingleton().getStockInfo(day,symbol);
		//return 0;
	}

	std::string LocalQuery::getStockName( int symbol )
	{
		return StockDatabase::getSingleton().getStockName(symbol);
	}

}
